<?php
/* 
 * This helper allow us to add simple url in to the view!
 * 
 */
class Zend_View_Helper_AddLink extends Zend_View_Helper_Abstract
{
    public function addLink ($name, $controller, $action, $routes)
    {
        $url = $this->view->url(array('controller'=>$controller,
                'action'=>$action), $routes, TRUE);

        return '<a href="' . $url . '" class="url">' . $name . ' </a><br />';
    }
}
?>
